package day06;

public class TestAnimal {
    public static void main(String[] args) {
        Dog dog = new Dog("啸天神狗","仙狗",100);

        dog.sleep();

        System.out.println(dog.getName());

        dog.spark();

        dog.watchForDoor();
    }
}
